package com.dys.mapper;

import com.dys.pojo.RoleMenuExample;
import com.dys.pojo.RoleMenuKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMenuMapper {
    long countByExample(RoleMenuExample example);

    int deleteByExample(RoleMenuExample example);

    int deleteByPrimaryKey(RoleMenuKey key);

    int insert(RoleMenuKey row);

    int insertSelective(RoleMenuKey row);

    List<RoleMenuKey> selectByExample(RoleMenuExample example);

    int updateByExampleSelective(@Param("row") RoleMenuKey row, @Param("example") RoleMenuExample example);

    int updateByExample(@Param("row") RoleMenuKey row, @Param("example") RoleMenuExample example);
}